﻿#region

using System;

#endregion

namespace HouseHoldBudget.Core.Infrastructure.DependencyManagement
{
    /// <summary>
    ///   Maps an attribute to the type it decorates.
    /// </summary>
    /// <typeparam name="T"> The type of attribute. </typeparam>
    public class AttributeInfo<T>
    {
        #region Instance Properties

        /// <summary>
        ///   An attribute retrieved from a type descriptor.
        /// </summary>
        public T Attribute { get; set; }

        /// <summary>
        ///   The particular type the attribute was describing.
        /// </summary>
        public Type DecoratedType { get; set; }

        #endregion
    }
}